add buffered file in linux platform