fixed the method to create a FilePath from a bucket/key
added extractors for s3, hdfs and local paths