Basic implementation for file