Add is_posted_file method to FileComponent