handle text file, need resolve file path