get source length if file is opened, if not use old value inside FileCache