Ajustar tipo en diferentes formatos de archivo