R package file broken into function files