Added a check for SQL Code (Instead of a Filepath)