replacing whole file by something functional