Correctly use filename instead of path for s3 key