Android port of SparkFile