Rename methods. Use binaryornot to determine whether a file is a binary or not, to use only non-binary files. Ignore readme, txt and log files.