fixed renamed file open call