added file learning