If line is a file, skip it

Also integrates the Mutex fix