Added fclose() so that server can access more than one file