utility function for system file indirection