email extraction from a file