Why is this function in a separate file? Was the file included by mistake?