to enable the file support, an OS and a filesystem is needed first.
if you do not use OS such like MQX in your application, then, a file name and his path can not be resolved and fopen can not recognize it.
regarding your case, even if Marco "_EWL_OS_DISK_FILE_SUPPORT" is enable, you can't use fopen this feature in your application.