Fix bug in filename read.
Move to CMake ;-)
Update readme and gitignore