[BUGFIX] Streamline creating text files in filelist module