file reader like grep and convert batch file to unix