added feature to skip not supported file type