better path handling for file to ease the deployement