def get_file_timestamp(fn):
	"""
		Returns timestamp of the given file
	"""
	from frappe.utils import cint

	try:
		return str(cint(os.stat(fn).st_mtime))
	except __HOLE__, e:
		if e.args[0]!=2:
			raise
		else:
			return None

# to be deprecated
dataset/ETHPy150Open frappe/frappe/frappe/utils/__init__.py/get_file_timestamp