Added support for FILE_DIRECTORY_FILE and FILE_NON_DIRECTORY_FILE open