Cleaning up function files