Added check existence of a file