A major part of Roadcraft is moving materials from one place to another. Cargo trucks are the vehicles for the job, but they can't pick up resources on their own; instead, they need help from a crane.
Using good old files (via FileInputStream, FileReader, and RandomAccessFile) is simple enough and certainly the obvious route to consider for anyone without a Java background. But it is the worst ...