Option to deduce the bucket from the filename