That should work. Do you have appropriate permission on that file?

ls -l /tmp/dbscripts/test.sql