FileFilter and automatic resize done