Fixing 'file' for 'open'