Removed getfile test in file