Improve file open