Check the existence of inputTinyFile (maybe use java.io.File with the exists method instead of Path)