added ?file switch to server, so that links to files can be handled now