Removed comments and remove leading slash in file names returned by readdir