Removing unnecessary File.join calls