primitive routing, files and other