Added file argument, fixed windows style file separators, parsed tabs at whitespace