Changed server path
Catch file errors and print to the console