Made db file path validation