Working for a simple file