move acceptedFIleTypes to enum