some bug with files