bugfix: file length