Working datbase files in the correct directory