fix for fail message when not supplying a file