Possible fix to the file open issue