Fixed InputFile check and updated copyright.