Implement file restore functionality