def METHOD_NAME(file: Path, app) -> str:
	app_path = Path(frappe.get_app_path(app))
	*path, filename = file.relative_to(app_path).parts
	base_filename = Path(filename).stem
	return ".".join([app] + path + [base_filename])