Explain how to use behavior and getting mediafiles