Adds better error messaging when source file could not be found