Input file-extension validation added