Make sure input file exists/openable