fn get_file_len( bootstrap_list_file: PathBuf, list_type: &ListType, create: bool, ) -> RpcResult<u64>
Get length of the given file if it exists(or create it if requested)