added files.go with some basic calculations.