shell script check if file exists in directory