upload attachments to /files/<pageid>/
folder will be create if it doesnt exist