testing a file to be commited