Check existing of the file to append.