Use -f instead of -a for file exists