Reading files is now working correctly. :)