Add support to s3 keys in file