fixed #3106 : fixed a bug about the 'fullPathForFilename' when preload text file