check if file exists on amazon s3

update CORS policy for absch.documents

Signed-off-by: Blaise Fonseca <blaisefonseca@hotmail.com>