Refactor: put base file path in constant