Revert "Moved include"

This reverts commit da82d280ac31e8cf1847866da976297dd86be925.
Added write/read from file functions