Correct base path for reading files