I'm trying to create a file resource so I can upload an image, however I keep getting an error that the file name is not valid. I'm not sure what the actual issue is here though, what would constitute a valid file name?
Currently I'm pulling the filename from a text input.