Fixed a pitiful file splitting bug