Construct file path from parts

Make it OS-independent.
Move package requirements into separate directory