angular service for File manipulation