Move s3 option in Document model to config file