I still think the Msf::Post::File mixin can be used