Write a bash script that takes a file path as an argument and performs the following file tests using if, then, else, and elif syntax:
$ ./file_tests.sh testfile
testfile is a regular file
testfile is readable
testfile is writable
testfile is executable
$ echo $?
0
$ ./file_tests.sh nonexistentfile
nonexistentfile does not exist or is not a regular file
$ echo $?
1