changed thumbname to filename