move acceptedFileTypes to enum