patched core, added File control