Check if given file is present or not.