Added support for file uploads in posts