Fixes file opening errors
Handles serverbase exceptions better