Fix for reading the file and checking stalled files