Read longer files

I also got rid of warnings for unused variables