Integrate static resources into the core. Add function to send files