file url should be a var too