Added filesize filter. Changed database class.