getting filepaths for images and sound, allowing editing of states in map