Added case for sql files