Improve spinner in FileRepository